<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css">
        body {
            font-family: SimSun;
            font-size: 10px;
        }

        #lrdn {
            border-collapse: collapse;
            width:100%;
        }

        #lrdn td {
            border: 1px solid black;
            height: 59px;
            text-align: center;
        }
        #wrapper {
            text-align: center;
        }
    </style>
</head>

<body>
<div id="wrapper">
<h1 id="title" >评估报告</h1>
</div>
<table id="lrdn" cellpadding="0">
    <tr>
        <td >姓名</td>
        <td  colspan="2">
            <span th:text="${elderlyName}"></span>
        </td>
    </tr>

    <tr>
        <td rowspan="2">一级指标分类</td>
        <td>
            <span th:text="'日常生活活动:' + ${dailyLiving}"></span>>
        </td>
        <td>
            <span th:text="'精神状态:'+${mind}"></span>
        </td>
    </tr>
    <tr>
        <td>
            <span th:text="'感知觉与沟通:'+${perception}"></span>
            </td>

            <td>
                    <span th:text="'社会参与:'+${social}"></span>
                </td>
    </tr>
    <tr>
        <td>老年人能力初步等级</td>
        <td colspan="2">
            <span th:text="${rs}"></span>
        </td>
    </tr>
    <tr>
        <td>
            等级变更条款
        </td>
        <td colspan="2">
            <p th:if="${bgtk1}">
                有认知障碍/痴呆、精神疾病
            </p>
            <p th:if="${bgtk2}">
                近 30 天内发生过 2 次及以上跌倒、噎食、自杀、走失
            </p>
            <p th:if="${bgtk3}">
                处于昏迷状态
            </p>
            <p th:if="!${bgtk3} and !${bgtk3} and !${bgtk3} ">
                无
            </p>

        </td>
    </tr>
    <tr>
        <td>老年人能力最终等级</td>
        <td colspan="2">
            <span th:text="${finalRs}"></span>
        </td>
    </tr>

    <tr>
        <td>评估 机构</td>
        <td colspan="2">
            <span th:text="${orgName}"></span>
        </td>
    </tr>
    <tr>
        <td>执行评估人</td>
        <td colspan="2">
            <span th:text="${evaluator}"></span>
        </td>
    </tr>
    <tr>
        <td>复核人</td>
        <td colspan="2">
            <span th:text="${auditor}"></span>
        </td>
    </tr>
</table>
</body>
</html>